package com.elong.json;

import com.alibaba.fastjson.JSON;


public class JsonCompare {

    public static void main(String[] args) {
	long startTime = System.currentTimeMillis();
	for(int i = 0; i < 1000000; i++){
	    JSON.toJSONString(new Object());
	}
	long endTime = System.currentTimeMillis();
	System.out.println(endTime - startTime);
    }
}
